{include file="include:header" /}
<body class="fixed-sidebar full-height-layout gray-bg" >
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-sm-4">
            <h2>帐号列表</h2>
            <!-- 导航部分 -->
            <ol class="breadcrumb">
                <li><a href="{:url('admin/Index/home')}">主页</a></li>
                <li><a href="{:url('admin/Account/index')}">账户管理</a></li>
                <li><strong>帐号列表</strong></li>
            </ol>
        </div>
        <div class="col-sm-8">
            <div class="title-action">
                <!-- 链接部分 -->
                <a href="{:url('admin/Account/add')}" class="btn btn-primary">新增账户</a>
              <!--  <a href="{:url('admin/Account/managerlogs')}" class="btn btn-primary">操作日志</a>-->
            </div>
        </div>
    </div>
    <!-- 会员列表 -->
    <div class="wrapper wrapper-content  admit-index">
        <!-- 表格主体 -->
        <table class="table table-bordered white-bg">
            <tr>
                <th>角色</th>
                <th>管理员姓名</th>
                <th>管理员账户</th>
                <th>管理员手机号码</th>
                <th>管理员头像</th>
                <th>时间</th>
                <th>操作</th>
            </tr>
            {volist name="list" id="v1" key="k"}
	              <tr >
                     <td  >
                         <span class="btn btn-xs btn-primary">{$v1['r_username']}</span>
                     </td>
	                 <td>{$v1['a_fullname']}</td>
                	 <td>{$v1['a_username']}</td>
                      <td>{$v1['a_phone']}</td>
                      <td><img src="{$v1['a_img']?$v1['a_img']:'__PUBLIC__/Images/a5.jpg'}" width="80px;"/></td>
                      <td>新增时间：{$v1['a_addtime']}<br/>
                          <font color="red">上次登录：{$v1['a_gotime']}<br/></font>
                      </td>
                	 <td>
                         <!--<a href="{:url('admin/Account/managerlog',array('admin_id'=>$v1['admin_id']))}" class="btn btn-xs btn-primary btn-outline">操作日志</a>&nbsp;&nbsp;-->
                         <a href="{:url('admin/Account/add',array('admin_id'=>$v1['admin_id']))}" class="btn btn-xs btn-primary btn-outline">编辑</a>
                	   {if condition="($v1['a_role'] neq 2) AND ($v1['a_role'] neq 3)"} <a href="#" class="btn btn-xs btn-danger btn-outline admin-delete" value="{$v1['admin_id']}">删除</a>{/if}
                	  &nbsp;<a href="{:url('admin/Account/changepassword',array('admin_id'=>$v1['admin_id']))}" class="btn btn-xs btn-danger btn-outline">更改密码</a></td>
	             </tr>
            {/volist}
        </table>
         <!-- 分页 -->
            <div class="btn-group"></div>
    </div>
</body>
</html>
{include file="include:js" /}


